<template>
	<view class="page">
		<jyf-parser :html="html" ref="article"></jyf-parser>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				html: ''
			};
		},
		onLoad() {
			this.getHtml()
		},
		methods: {
			getHtml() {
				 this.html = '<div>Hello World!</div>';
			}
		}
	}
</script>

<style lang="scss" scoped>
.page {
	padding: 30rpx;
	min-height: 100vh;
	background-color: #fff;
}
</style>
